package com.morgan.basemodule.ext

import androidx.fragment.app.Fragment
import com.alibaba.android.arouter.launcher.ARouter
import com.morgan.basemodule.activity.ActManager

/**
 *description：
 *<br>author：caowugao
 *<br>time：2021/4/2 0002 17:28
 */

fun jump(path : String, durationUs: Long = 0L) = ActManager.getInstance().jump(path, durationUs)

fun getFrag(path : String) : Fragment = ARouter.getInstance().build(path).navigation() as Fragment